from django.shortcuts import render
from django.http import request
from django.http import HttpResponse
from mysite.models import Alerts


# Create your views here.
def alerts_list(request):
	alert_list = Alerts.objects.all()
	alert = []
	for i in alert_list:
		alert.__add__(i)
	return HttpResponse(alert)
